filterNot

open override fun filterNot(predicate: (T) -> Boolean): Try<T>

Returns the same Success if the predicate is not satisfied for the value. Otherwise returns a Failure.

Return

The same Success if the predicate is not satisfied for the value. Otherwise returns a Failure.

Parameters

predicate

Predicate function.